import { Component } from '@angular/core';
import { NavController, NavParams } from 'ionic-angular';
import { CallCar } from './call-car/call-car';
import { Drive } from './drive/drive';
import { SendCar } from './send-car/send-car';
/**
 * Generated class for the Car page.
 *
 * See http://ionicframework.com/docs/components/#navigation for more info
 * on Ionic pages and navigation.
 */
@Component({
  selector: 'page-car',
  templateUrl: 'car.html',
})
export class Car {

  constructor(public navCtrl: NavController, public navParams: NavParams) {
  }

  goCallCar(){
    this.navCtrl.push(CallCar);
  }
  goDrive(){
    this.navCtrl.push(Drive);
  }
  goSendCar(){
    this.navCtrl.push(SendCar);
  }
  ionViewDidLoad() {
    console.log('ionViewDidLoad Car');
  }

}
